package com.yml.logistical;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.context.annotation.ComponentScan;

@EnableCircuitBreaker
@FeignClient
@SpringBootApplication
@EnableEurekaClient
@EntityScan("com.yml.logistical.domain")
@ComponentScan(basePackages = {"com.yml"})
@ComponentScan(basePackages = {"com.yml.logistical"})
public class LogisticalApplication {
    public static void main(String[] args) {
        SpringApplication.run(LogisticalApplication.class,args);
    }
}
